package com.lbd.smsplatform.dao;

import com.lbd.smsplatform.bean.SmsWhiteList;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;

import java.io.Serializable;
import java.util.List;

/**
 * Created by wang on 2016/9/26.
 */
public interface SmsWhiteListRepository extends PagingAndSortingRepository<SmsWhiteList, Serializable>, JpaSpecificationExecutor<SmsWhiteList> {

    List<SmsWhiteList> findByRecipient(String recipient);

}
